<%-- 
    Document   : resultsalesreport
    Created on : Apr 8, 2012, 5:48:13 PM
    Author     : lilbrianxp
--%>

<%@page import="java.util.ArrayList"%>
<%@page contentType="text/html" pageEncoding="EUC-KR"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
         <link rel="stylesheet" href="css/table.css" type="text/css" />

        <title>Sales Report</title>
    </head>
    <body>
        <table id="table-1">
	<thead>
		<th>Stock ID</th>
                <th>Company Name</th>
		<th>Price Per Share</th>
                <th>Number of Share</th>
                <th>Order Type</th>
		<th>Date</th>

	</thead>
	<tbody>
	<%
            ArrayList<String[]> rs=(ArrayList<String[]>)request.getAttribute("rs");
            for(int i=0;i<rs.size();i++){
                out.print("<tr>");
                for(int j=0;j<6;j++)
                    out.print("<td>"+rs.get(i)[j]+"</td>");
                out.print("</tr>");
            }
        %>
	</tbody>
        </table>
    </body>
</html>
